package com.ctgu.server.dao.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @projectName: ctguqmx_server
 * @package: com.ctgu.server.dao.dto
 * @className: FormUserDto
 * @author: Kvzjj
 * @description: TODO
 * @date: 2023/6/6 22:02
 * @version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "FormUserDto", description = "组织信息请求参数")
public class FormUserDto {
    @ApiModelProperty(value = "报名表ID")
    @NotNull(message = "不能为空")
    private String formId;

    @ApiModelProperty(value = "用户ID")
    @NotEmpty(message = "userid不能为空")
    private String userId;

    @ApiModelProperty(value = "目标组织ID")
    private List<String> groupIdList;

    @ApiModelProperty(value = "用户介绍")
    private String description;
}
